Skip to content

test: raise utility coverage#11

Open
Daniyal0100101 wants to merge 1 commit into
eliottreich:mainfrom
Daniyal0100101:codex/coverage-uplift-tests
Open

test: raise utility coverage#11
Daniyal0100101 wants to merge 1 commit into
eliottreich:mainfrom
Daniyal0100101:codex/coverage-uplift-tests

Conversation

@Daniyal0100101

Copy link
Copy Markdown

Summary

  • add focused Vitest coverage for arrays, dates, and money utilities
  • expand string utility coverage for slugify, truncate, titleCase, and escapeHtml edge cases
  • keep production code unchanged

Verification

  • npm test
  • npx tsc --noEmit
  • npx vitest run --coverage --coverage.reporter=text-summary "--coverage.include=src/**/*.ts" "--coverage.exclude=src/**/*.test.ts"

Coverage after this change:

  • Statements: 100% (80/80)
  • Branches: 97.22% (35/36)
  • Functions: 100% (15/15)
  • Lines: 100% (80/80)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant